package be.destin.adp;

public class AdpWINdata {
	AdpWIN win;
	AdpTransformation transformation;
	
	static public final AdpWINdata WIN_continue = new AdpWINdata(AdpWIN.WIN_continue,null); // . Restart evaluation with first rule of the transformation
	static public final AdpWINdata WIN_break = new AdpWINdata(AdpWIN.WIN_break,null); // !. Stop Input processing
	static public final AdpWINdata WIN_return = new AdpWINdata(AdpWIN.WIN_return,null); // !! Return to the caller if any. If none, copy all input to output
	static public final AdpWINdata WIN_copy = new AdpWINdata(AdpWIN.WIN_copy,null); // Copy one character from input to output and restart evaluation with first rule of the transformation
	static public final AdpWINdata WIN_skip = new AdpWINdata(AdpWIN.WIN_skip,null); // Skip one character from input and restart evaluation with first rule of the transformation

	public AdpWINdata (AdpWIN win, AdpTransformation transfo) {
		this.win = win;
		this.transformation = transfo;
	}
	/**
	 * @return the win
	 */
	public AdpWIN getWin() {
		return win;
	}
	/**
	 * @param win the win to set
	 */
	public void setWin(AdpWIN win) {
		this.win = win;
	}
	/**
	 * @return the transformation
	 */
	public AdpTransformation getTransformation() {
		return transformation;
	}
	/**
	 * @param transformation the transformation to set
	 */
	public void setTransformation(AdpTransformation transformation) {
		this.transformation = transformation;
	}
}
